using System;
using System.Collections.Generic;
using System.Text;
using XNALibrary.Game;
using Microsoft.Xna.Framework.Graphics;
using XNALibrary.Lighting;

namespace XNALibrary.Materials
{
    public class Cartoon : BaseEffect
    {
        public Cartoon()
        {
            effect = BaseGame.content.Load<Effect>("Resources\\Effects\\Materials\\Cartoon");
        }

        public override void UpdateEffectParameters(Microsoft.Xna.Framework.Graphics.Effect effect, Microsoft.Xna.Framework.Matrix world)
        {
            effect.Parameters["World"].SetValue(world);
            effect.Parameters["View"].SetValue(BaseGame.camera.View);
            effect.Parameters["Projection"].SetValue(BaseGame.camera.Projection);
        }
    }
}
